package cn.zcib.film.bean;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Play {
    private Integer playId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date playTime;
    private Integer filmId;
    private Integer roomId;
    private Integer money;
    private Integer isDel;

    //一对一
    private Subject film;
    private Room room;

    @Override
    public String toString() {
        return "Play{" +
                "playId=" + playId +
                ", playTime=" + playTime +
                ", filmId=" + filmId +
                ", roomId=" + roomId +
                ", money=" + money +
                ", isDel=" + isDel +
                ", film=" + film +
                ", room=" + room +
                '}';
    }

    public Integer getPlayId() {
        return playId;
    }

    public void setPlayId(Integer playId) {
        this.playId = playId;
    }

    public Date getPlayTime() {
        return playTime;
    }

    public void setPlayTime(Date playTime) {
        this.playTime = playTime;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Subject getFilm() {
        return film;
    }

    public void setFilm(Subject film) {
        this.film = film;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }
}
